1 poke53281,0:poke53280,0:poke646,13:print"[147] [146]":print" <<< quiz time >>> [146]":print" [146]":print"[158] 1 [146] prepare a quiz [146]":print"[158] 2 [146] load a quiz [146]":print"[158] 3 [146] save a quiz [146]"
2 print"[158] 4 [146] disk directory [146]":print"[158] 5 [146] quit program [146]":print" select option [146]"
3 geta$:ifa$="1"thengoto9
4 ifa$="2"thengoto13
5 ifa$="3"thengoto21
6 ifa$="4"thengoto23
7 ifa$="5"thengoto24
8 goto3:end
9 print"[147] [146]";:print" < question please then press return > [146]";:print" [146]";:print"[153] up to 80 characters only [146]";:print" question number [146] : ";" [157]";ct;"[157] [146]"
10 poke19,1:inputqt$(ct,0):poke19,0:print"":print" [146]";:print" < answer please then press return > [146]";:print" [146]";:print"[153] up to 80 characters only [146]";
11 print" answer number [146] : ";" [157]";ct;"[157] [146]":poke19,1:inputqt$(ct,1):poke19,0:print"[147] [146]":print" < any more questions > [146] y / n":print" [146]":gosub26:ifa$="y"thenct=ct+1:ifct<100thengoto9
14 print" <<< is disk drive ready to load >>> [146]":print" [146]":gosub43:gosub28:print"[147] loading quiz [146] : ";nm$:open1,8,0,nm$:open15,8,15:gosub46:input#1,ct:forl1=1toct:forl2=0to1:input#1,qt$(l1,l2):next:next:close1:close15:print"[147] ready to go !!!!!! [146]"
15 gosub43:gosub28:ti$="000000"
16 print"[147][153] score is [146] :";sc;" out of [146] :";qt:print" time taken is [146] : ";:tm$=ti$:printmid$(tm$,1,2)+":"+mid$(tm$,3,2)+":"+mid$(tm$,5,2):qt=qt+1:print" question [146] :";qt:rd=int(rnd(1)*ct)+1:print"";qt$(rd,0):print" answer please [146]":input"";an$
17 ifan$=qt$(rd,1)thenprint"[153] you are correct [146]":sc=sc+1:goto30
18 print"[153] you are wrong [146] !!":goto36
19 print"[147] another question [146] y / n":gosub26:ifa$="y"then16
20 print"[147]":print"[147][153] score is [146] :";sc;" out of [146] :";qt:print" time taken was [146] : "ti$:gosub43:gosub28:goto1
21 print"[147][153] [146]":print" << enter quiz filename please >> [146]":print" [146]":poke19,1:inputnm$:poke19,0:print"[147] [146]":print" <<< is disk drive ready to save >>> [146]"
47 close1:close15:print"[147]":print"";e;"[157] ";e$;t;"[157]";s;"[157] [146]":print"[158] << see directory for correct name >> [146]":forde=0to1000:nextde:run